package com.ymm.system.api.dto;

import com.ymm.system.api.constants.CargoEntity;
import com.ymm.system.api.constants.DriverEntity;
import com.ymm.system.api.constants.ShipperEntity;
import com.ymm.system.api.constants.TradeEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 *
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2022-08-03
 */
@Data
@ApiModel(value = "")
public class LltorderDetailsDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @ApiModelProperty(value = "运单id")
    private Long tradeId;

    @ApiModelProperty(value = "司机id")
    private Long driverId;

    @ApiModelProperty(value = "货主id")
    private Long shipperId;

    @ApiModelProperty(value = "订单状态")
    private Integer orderShipperState;

    @ApiModelProperty(value = "货源id")
    private Long cargoId;

    @ApiModelProperty(value = "订单创建时间")
    private Date orderCreateDate;

    @ApiModelProperty(value = "订单更新时间")
    private Date orderUpdateDate;

    @ApiModelProperty(value = "订单价格")
    private Integer orderPrice;

    @ApiModelProperty(value = "订单取消类型")
    private Integer orderCancelType;

    @ApiModelProperty(value = "订单取消原因")
    private Integer orderCancelReason;

    @ApiModelProperty(value = "订单取消原因描述")
    private String orderCancelDescription;

    @ApiModelProperty(value = "订单取消原因图片证明")
    private String orderCancelPictureLink;

    @ApiModelProperty(value = "订单取消事件")
    private Date orderCancelTime;

    @ApiModelProperty(value = "")
    private CargoEntity cargoEntity;

    @ApiModelProperty(value = "")
    private DriverEntity driverEntity;

    @ApiModelProperty(value = "")
    private ShipperEntity shipperEntity;

    @ApiModelProperty(value = "")
    private TradeEntity tradeEntity;
}
